import { RouteConfig } from "vue-router";
import Manage from '@/pages/platform/manage.vue';
import LeaderBoard from '@/pages/platform/leaderBoard.vue';
import { ROUTE_NAME } from "@/lib/constant";

export const routes: RouteConfig[] = [
    {
        path: '/platform/manage',
        name: ROUTE_NAME.PLATFORM_MANAGE,
        meta: {
            title: '掌上管理',
        },
        component: Manage,
    },
    {
        path: '/platform/leader_board',
        name: ROUTE_NAME.PLATFORM_LEADER_BOARD,
        meta: {
            title: '排行榜',
        },
        component: LeaderBoard,
    },
];
